package cn.iocoder.yudao.module.erp.controller.admin.purchase.vo.supplier;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - ERP 供应商分页 Request VO")
@Data
public class ErpSupplierPageReqVO extends PageParam {

    @Schema(description = "供应商企业全称", example = "赵六")
    private String name;

    @Schema(description = "企业类型", example = "2")
    private Integer type;

    @Schema(description = "营业执照含三证合一")
    private String businessPic;

    @Schema(description = "企业联系人")
    private String companyContact;

    @Schema(description = "企业联系人邮箱")
    private String companyEmail;

    @Schema(description = "企业联系电话")
    private String companyTelephone;

    @Schema(description = "审核状态 字典管理complain_status " +
            "    WAIT_AUDIT(0, \"未审核\"), \n" +
            "    AUDITING(1, \"审核中\"), \n" +
            "    PASS(2, \"已审核\"), \n" +
            "    REJECT(3, \"已拒绝\"), \n" +
            "    BLACKLIST(4, \"黑名单\"); ", example = "1")
    private Integer status;

    @Schema(description = "创建时间 数组")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "分数启终 数组  0,100这种格式")
    private Integer[] score;


}
